<template>
  <div class="box" @click="add">
    <h3>Vue3-{{ count }}</h3>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
const count = ref(0)

const add = (): void => {
  count.value++
}
</script>

<style scoped lang="scss">
.box {
  width: 100px;
  height: 100px;

  h3 {
    font-style: italic;
  }
}
</style>
